package com.qa.IDao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.qa.pojo.personalEvent;

public interface personalEventMapper {
	int deleteByPrimaryKey(Integer eventid);

	int insert(personalEvent record);

	int insertSelective(personalEvent record);

	personalEvent selectByPrimaryKey(Integer eventid);

	int updateByPrimaryKeySelective(personalEvent record);

	int updateByPrimaryKey(personalEvent record);

	List<personalEvent> selectPersonalEventsById(@Param("usersid") int usersid);

	boolean insertMyEvents(@Param("usersid") int usersid,
			@Param("title") String title);

	int deleteMyEvents(@Param("usersid") int usersid,
			@Param("title") String title);
}